package indi.zhifa.study2025.class004.imgserv.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.engine.core.common.ann.enums.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "图片所属标签",defaultIdx = 1)
public enum EPictureBelongTag {
    PHOTO(1,"肖像","肖像大图"),
    PROFILE(2,"头像","头像大图"),
    ITEM_MAIN(3,"主图","商品主图"),
    ITEM_SKU(4,"sku图","商品sku图");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String description;
}
